home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
dskut
/
reboot13.zip
/
REBOOT.DOC
< prev
next >
Wrap
Text File
|
1988-02-09
|
3KB
|
92 lines
REBOOT 1.3
guy gallo
2/11/88
REBOOT was written and compiled with Turbo Pascal 4.0.
LOGIC:
REBOOT looks into a specfied directory (C:\CONFIGS) for any files of the
form "FILENAME.", that is, file without any extension at all. It assumes
that these files are alternative config.sys files.
When one of these extensionless filenames is passed to REBOOT, either
on the command line, or by being chosen by the user from a list, REBOOT
1) backs up the current config.sys file,
2) copies <filename> to the root directory as CONFIG.SYS, and
3) performs a warm boot of the machine.
INSTALLING REBOOT:
Create a directory named C:\CONFIGS.
In C:\CONFIGS, create any alternative config.sys files you might desire, and
store them under descriptive filenames (without extensions).
e.g. : noram, noansi, ansi
You can also have a matching autoexec.bat file copied if you wish. To do
this create the approriate batch file and store under the same filename, but
with the extension "bat".
e.g : noansi.bat
(would match the config file "Noansi")
RUNNING REBOOT:
Typing REBOOT <cr> will list the current config.sys alternatives
Typing REBOOT Fname <cr> will copy the file(s) Fname (and Fname.bat, if it
exists) to the root directory and perform a warm reboot.
e.g. (using the examples above)
REBOOT noram <CR>
will copy the file c:\configs\noram to c:\config.sys
REBOOT noansi <CR>
will copy the file c:\configs\noansi to c:\config.sys and
c:\configs\noansi.bat to c:\autoexec.bat
REBOOT <CR>
will present a menu of current possibilities.
BACKUP CONFIG FILES:
REBOOT provides the following enhancement over other reboot/reconfigure
programs. When you copy a new config.sys file to the root directory,
the currently active config.sys is saved, in the \configs directory, under
the filename BETA.
Similarly, if you wish to reconfigure with a matching pair, that is with
a config file that has a matching batch file, the currently active boot
files (both config.sys and autoexec.bat) will be backed up to the filename
ALPHA.
Thereafter, entering the command
REBOOT beta (if only the config.sys file was changed)
or
REBOOT alpha (if both the config.sys and autoexec.bat files were changed)
will restore the previously active boot files.
History:
version 1.0 release 10/22/87
version 1.3 release 2/11/88 - added the /b option to reboot machine
without changing anything
added a hard-coded read to the C:\CONFIGS directory in order to
allow rebooting from any logical drive.
Comments:
Comments can be addressed to Guy Gallo at the following bulletin boards
The Invention Factory
PCSI
DannySoft dBBS